FROM registry.cn-hangzhou.aliyuncs.com/library/openjdk:17-jdk
WORKDIR /app
COPY target/calculator-service-*.jar app.jar
EXPOSE 8081
ENTRYPOINT ["java", "-jar", "app.jar"]